package com.zhijian.warehouse.manage.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author HCG
 * @version 1.0
 * @date 2023-10-23
 */
public class MessageEnum {

    /**
     * 消息接收类型枚举类
     */
    @AllArgsConstructor
    @Getter
    public enum MessageReceiveTypeEnum {

        PC(0, "pc端"),
        MOBILE(1, "移动端"),;

        private Integer code;
        private String desc;
    }

    @AllArgsConstructor
    @Getter
    public enum MessageTypeEnum {

        WEB(7, "web端弹窗"),
        OA(8, "公众号"),
        MP(9, "小程序"),
        SMS(10, "短信"),
        VOICE(11, "电话");

        private Integer code;
        private String desc;
    }

    /**
     * 消息是否已读枚举类
     */
    @AllArgsConstructor
    @Getter
    public enum MessageWeatherReadEnum {

        UN_READ(0, "未读"),
        ALREADY_READ(1, "已读"),;

        private Integer code;
        private String desc;
    }

    /**
     * 业务类型枚举类
     */
    @AllArgsConstructor
    @Getter
    public enum MessageServerTypeEnum {

        DEVICE_WARN(1, "设备告警"),;

        private Integer code;
        private String desc;
    }


}
